import http from "@/utils/http";
import { defaultLimit,defaultPage } from "@/configs/defalut_msg";

export const selectList = (url:string) => {
    return (page: number = defaultPage, limit: number = defaultLimit) => {
        return http.get(url, {
            params: {
                page,
                limit
            }
        })
    }
}
